CFLAGS := -DCURRENT_DIR=\"$(CURDIR)\"
TARGET := app/Contents/MacOS/popcalc

all: $(TARGET)

$(TARGET): main.c
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm -f $(TARGET)

.PHONY: all clean
